<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Docs For Class CssScanner</title>
	<link rel="stylesheet" type="text/css" href="../../media/style.css">
	<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
	<script src="media/a.js"></script>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
	<td class="header-top-left"><img src="../../media/logo.png" border="0" alt="phpDocumentor " /></td>
    <td class="header-top-right">QueryPath<br /><div class="header-top-right-subpackage">CSSParser</div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
      
                        
                                                  		[ <a href="../../classtrees_QueryPath.html" class="menu">class tree: QueryPath</a> ]
		[ <a href="../../elementindex_QueryPath.html" class="menu">index: QueryPath</a> ]
            [ <a href="../../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
		<div class="package-title">QueryPath</div>
  <div class="package">
	<div id="todolist">
			<p><a href="../../todolist.html">Todo List</a></p>
	</div>
	</div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../../li_QueryPath.html">QueryPath</a><br />
              <a href="../../li_Examples.html">Examples</a><br />
              <a href="../../li_Tests.html">Tests</a><br />
      	</div>
      <br />
		<b>Tutorials/Manuals:</b><br />
  <div class="package">
					<strong>Package-level:</strong>
							<ul>
	<li type="square"><a href="../../QueryPath/tutorial_QueryPath.pkg.html">Using QueryPath</a>
</ul>

									                        <b>Files:</b><br />
        <div class="package">
				<span style="padding-left: 1em;"><a href="../../QueryPath/_src---QueryPath---QueryPath.php.html">QueryPath.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/_src---QueryPath---QueryPathExtension.php.html">QueryPathExtension.php</a></span><br />
	  </div>
  <div class="package">
	<strong>CSSParser</strong><br />			<span style="padding-left: 1em;"><a href="../../QueryPath/CSSParser/_src---QueryPath---CssEventHandler.php.html">CssEventHandler.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/CSSParser/_src---QueryPath---CssParser.php.html">CssParser.php</a></span><br />
	  </div>
  <div class="package">
	<strong>Extension</strong><br />			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPDB.php.html">QPDB.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPList.php.html">QPList.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPTPL.php.html">QPTPL.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPXML.php.html">QPXML.php</a></span><br />
	  </div>
  <div class="package">
	<strong>Internals</strong><br />			<span style="padding-left: 1em;"><a href="../../QueryPath/Internals/_src---QueryPath---QueryPathImpl.php.html">QueryPathImpl.php</a></span><br />
	  </div>
            <br />
            <b>Interfaces:</b><br />
        <div class="package">
	CSSParser<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssEventHandler.html">CssEventHandler</a>    </span>	 <br />
	  </div>
  <div class="package">
	Extension<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/TableAble.html">TableAble</a>    </span>	 <br />
	  </div>
  <div class="package">
		    		<a href="../../QueryPath/QueryPath.html">QueryPath</a>    	 <br />
	    		<a href="../../QueryPath/QueryPathExtension.html">QueryPathExtension</a>    	 <br />
	  </div>
                  <b>Classes:</b><br />
        <div class="package">
	CSSParser<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssInputStream.html">CssInputStream</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CSSParseException.html">CSSParseException</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssParser.html">CssParser</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssScanner.html">CssScanner</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssToken.html">CssToken</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/NamespaceMap.html">NamespaceMap</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/NegationCssEventHandler.html">NegationCssEventHandler</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/NotImplementedException.html">NotImplementedException</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/QueryPathCssEventHandler.html">QueryPathCssEventHandler</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/UniqueElementList.html">UniqueElementList</a>    </span>	 <br />
	  </div>
  <div class="package">
	Extension<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPDB.html">QPDB</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPList.html">QPList</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPTableData.html">QPTableData</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPTableTextData.html">QPTableTextData</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPTPL.html">QPTPL</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPXML.html">QPXML</a>    </span>	 <br />
	  </div>
  <div class="package">
		    		<a href="../../QueryPath/QueryPathException.html">QueryPathException</a>    	 <br />
	    		<a href="../../QueryPath/QueryPathExtensionRegistry.html">QueryPathExtensionRegistry</a>    	 <br />
	  </div>
  <div class="package">
	Internals<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Internals/QueryPathImpl.html">QueryPathImpl</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Internals/QueryPathIterator.html">QueryPathIterator</a>    </span>	 <br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: CssScanner</h1>
Source Location: /src/QueryPath/CssParser.php<br /><br />

<h2 class="class-name">Class CssScanner</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Class Overview</div>
	<div class="nav-bar">
					<span class="disabled">Class Overview</span>
						
											| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
														| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
								</div>
	<div class="info-box-body">
		<table width="100%" border="0">
		<tr><td valign="top" width="60%" class="class-overview">

        		<p align="center" class="short-description"><strong>Scanner for CSS selector parsing.
</strong></p>
<span class="description"><p>This provides a simple scanner for traversing an input stream.</p></span>
		<p class="notes">
			Located in <a class="field" href="_src---QueryPath---CssParser.php.html">/src/QueryPath/CssParser.php</a> [<span class="field">line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a764">764</a></span>]
		</p>

		
		<pre></pre>

		
		
		
		</td>

				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_vars">Properties</a></strong></p>
		<ul>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#var$is">$is</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#var$it">$it</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#var$recurse">$recurse</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#var$token">$token</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#var$value">$value</a></li>
		  		</ul>
		</td>
		
				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
		<ul>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#method__construct">__construct</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#methodgetNameString">getNameString</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#methodgetQuotedString">getQuotedString</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#methodgetStringPlusWhitespace">getStringPlusWhitespace</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#methodnextToken">nextToken</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssScanner.html#methodpeek">peek</a></li>
		  		</ul>
		</td>
		
		</tr></table>
		<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
</div>




	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Property Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									| <span class="disabled">Property Summary</span> | <a href="#sec-vars">Properties Detail</a>
												| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
							    				</div>
		<div class="info-box-body">
			<div class="var-summary">
			<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
																																											<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$is" title="details" class="var-name-summary">$is</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$it" title="details" class="var-name-summary">$it</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$recurse" title="details" class="var-name-summary">$recurse</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$token" title="details" class="var-name-summary">$token</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$value" title="details" class="var-name-summary">$value</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
										</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
							    					| <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
		</div>
		<div class="info-box-body">
			<div class="method-summary">
				<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
																																																																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">CssScanner</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#__construct" title="details" class="method-name">__construct</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Given a new input stream, tokenize the CSS selector string.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getNameString" title="details" class="method-name">getNameString</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Get a name string from the input stream.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getQuotedString" title="details" class="method-name">getQuotedString</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">This gets a string with any legal 'string' characters.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getStringPlusWhitespace" title="details" class="method-name">getStringPlusWhitespace</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Get a string from the input stream.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">int</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#nextToken" title="details" class="method-name">nextToken</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Get the next token in the input stream.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">char</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#peek" title="details" class="method-name">peek</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">See the next char without removing it from the stack.</td></tr>
				</div>
												</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Properties</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
													| <a href="#sec-var-summary">Property Summary</a> | <span class="disabled">Properties Detail</span>
															| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
												</div>
		<div class="info-box-body">
			<a name="var$is" id="$is"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$is</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a765">765</a>]</span>
		</span>
	</div>

		

	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$it" id="$it"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$it</span>
			 = <span class="var-default"> 0</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a770">770</a>]</span>
		</span>
	</div>

		

	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$recurse" id="$recurse"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$recurse</span>
			 = <span class="var-default"> FALSE</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a769">769</a>]</span>
		</span>
	</div>

		

	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$token" id="$token"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$token</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a767">767</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$value" id="$value"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$value</span>
			 = <span class="var-default"> NULL</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a766">766</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
																	| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
					</div>
		<div class="info-box-body">
			<a name='method_detail'></a>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">Constructor __construct</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a778">778</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>CssScanner __construct(
<a href="../../QueryPath/CSSParser/CssInputStream.html">CssInputStream</a>
$in&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Given a new input stream, tokenize the CSS selector string.
</strong></p>

			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"><a href="../../QueryPath/CSSParser/CssInputStream.html">CssInputStream</a></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$in:&nbsp;</span></td>
				<td>
				<span class="var-description"> An input stream to be scanned.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>See:</strong>&nbsp;&nbsp;</td><td><a href="../../QueryPath/CSSParser/CssInputStream.html">CssInputStream</a></td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetNameString" id="getNameString"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getNameString</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a925">925</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getNameString(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Get a name string from the input stream.
</strong></p>
<span class="description"><p>A name string must be composed of  only characters defined in CssToken:char: -_a-zA-Z0-9</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetQuotedString" id="getQuotedString"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getQuotedString</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a951">951</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getQuotedString(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>This gets a string with any legal 'string' characters.
</strong></p>
<span class="description"><p>See CSS Selectors specification, section 11, for the  definition of string.</p><p>This will check for string1, string2, and the case where a  string is unquoted (Oddly absent from the &quot;official&quot; grammar,  though such strings are present as examples in the spec.)</p><p>Note:  Though the grammar supplied by CSS 3 Selectors section 11 does not  address the contents of a pseudo-class value, the spec itself indicates  that a pseudo-class value is a &quot;value between parenthesis&quot; [6.6]. The  examples given use URLs among other things, making them closer to the  definition of 'string' than to 'name'. So we handle them here as strings.</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetStringPlusWhitespace" id="getStringPlusWhitespace"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getStringPlusWhitespace</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a993">993</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void getStringPlusWhitespace(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Get a string from the input stream.
</strong></p>
<span class="description"><p>This is a convenience function for getting a string of  characters that are either alphanumber or whitespace. See  the CssToken::white and CssToken::char definitions.</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodnextToken" id="nextToken"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">nextToken</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a803">803</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>int nextToken(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Get the next token in the input stream.
</strong></p>
<span class="description"><p>This sets the current token to the value of the next token in  the stream.</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>Returns an int value corresponding to one of the CssToken constants,   or FALSE if the end of the string is reached. (Remember to use   strong equality checking on FALSE, since 0 is a valid token id.)</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodpeek" id="peek"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">peek</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a788">788</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>char peek(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>See the next char without removing it from the stack.
</strong></p>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>Returns the next character on the stack.</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>


        <div class="credit">
		    <hr class="separator" />
		    Documentation generated on Thu, 19 Mar 2009 18:01:08 -0500 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.2</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>